import { ApiProperty } from '@nestjs/swagger';

export class UploadResponseDto {
  @ApiProperty({ example: 'http://example.com/uploads/file.jpg', description: '文件访问URL' })
  url: string;

  @ApiProperty({ example: 'file.jpg', description: '文件名' })
  filename: string;

  @ApiProperty({ example: 'image/jpeg', description: '文件类型' })
  mimetype: string;

  @ApiProperty({ example: 1024, description: '文件大小(字节)' })
  size: number;
} 